shadowsocks is an open-source encrypted proxy project,
usually use to pass GFA (Great Firewall of China)
shadowsocks 是开源加密代理项目, 一般用于科学上网使用.
Installation 安装
- add repo to yum, 添加 repo 源
1 | cd /etc/yum.repos.d/ |
- edit config 编辑配置文件
1 | $vim /etc/shadowsocks-libev/config.json |
- check config workfine 检测配置是否生效
1 | ss-server -c /etc/shadowsocks-libev/config.json |
- start service 开启服务
1 | systemctl restart shadowsocks-libev |
- check log 检查日志
1 | journalctl -u shadowsocks-libev |
Errors 可能的报错
- Error Message 出现下面错误的解决方法
ss-local: error while loading shared libraries: libmbedcrypto.so.0:
cannot open shared object file: No such file or directory
Solution: install mbedtls-devel
解决方法: 安装 mbedtls-devel
依赖
1 | $ yum install mbedtls-devel |
Reference 参考文档
https://zzz.buzz/zh/gfw/2017/08/14/install-shadowsocks-server-on-CentOS-7/
https://github.com/shadowsocks/shadowsocks-libev/issues/1966